package StrategyPattern;/** * Created by Administrator on 2018-10-17. */public class ModelDuck extends Duck {    public ModelDuck(){        flyBehavior = new FlyNoWay();        quackBehavior = new Quack();    }    public void display() {        System.out.println("I am a ModelDuck");    }}